package com.dongan.mapper;

import com.dongan.pojo.File;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 文件 Mapper 接口
 * </p>
 *
 * @author longTao
 * @since 2021-06-15
 */
public interface FileMapper extends BaseMapper<File> {
    /**
     * 物理删除
     *
     * @param id
     * @return
     */
    public int recoveryC(Long id);

    public List<File> queryTheDataThatHasBeenDeleted(@Param("designModuleTag") String designModuleTag, @Param("type") String type, @Param("checkTag") String checkTag, @Param("firstId") Integer firstId, @Param("secondId") Integer secondId, @Param("threeId") Integer threeId, @Param("name") String name, @Param("deleted") Integer deleted);

    public int restore(@Param("id") Long id);
}
